home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / CatchIt.readme < prev    next >
Text File  |  1996-09-26  |  2KB  |  63 lines

  1. Short:    Catch StdOut Output and give it to an application.
  2. Uploader: oesi@paradis.rhein.de (Andreas S. Oesterhelt)
  3. Type:     util/cli
  4.  
  5. CatchIt is a quick'n'dirty Hack, that is similar to 'pipe' or
  6. 'APIPE:', with the one difference that it does not invoke the
  7. application whose stdout-output is to be captured.
  8.  
  9. Synopsis: CatchIt <command> <arguments, including * for the capture>
  10.  
  11. Some examples:
  12.  
  13. CatchIt Ed *   - catches the input fom the invoking process until
  14.                  Ctrl-\ (=EOF) and then runs Ed on the input.
  15.                  (If invoked from a shell window, you can enter the
  16.                  text manually.)
  17.  
  18. CatchIt copy * prt:  - same as above, copies input to the printer
  19.                 instead.
  20.  
  21. You get an error, if either
  22.  
  23. - your ram is full
  24. - T: is not available
  25. - less than 2 arguments are supplied
  26.  
  27. It developed from the spontaneous need to have a user "display" 
  28. on my system, that would display messages sent to him on the
  29. console for test purposes. So I wrote CatchIt and set up an
  30. alias in the UUlib:aliases File:
  31.  
  32. display:: "|CatchIt more *"
  33.  
  34. Now all incoming mail for user "display" is displayed by more
  35. upon arrival. This is particularly useful if you run AmiTCP and
  36. SMTPd, as people can send urgent messages Cc'ed to display.
  37.  
  38. (Note: after being displayed the mails are lost. If you want to
  39. save them, add a second recipient to the alias.)
  40.  
  41. You can easily set up pseudo-users for any purpose, say
  42.  
  43. binaries:: "|CatchIt uudecode *"
  44. playsound:: "|CatchIt s:decode'n'play *"
  45. BlackHole(TM):: "|CatchIt copy * nil:"
  46. printer::...
  47. viewpic::.....
  48.  
  49.  
  50. CatchIt is Public Domain.
  51.  
  52. © 1994 by Andreas Oesterhelt (oesi@paradis.rhein.de)
  53.  
  54.  
  55. ============================= Archive contents =============================
  56.  
  57. Original  Packed Ratio    Date     Time    Name
  58. -------- ------- ----- --------- --------  -------------
  59.     7508    4867 35.1% 04-Aug-94 14:05:06  CatchIt
  60.     1650     904 45.2% 04-Aug-94 14:40:58  CatchIt.doc
  61. -------- ------- ----- --------- --------
  62.     9158    5771 36.9% 05-Aug-94 12:02:26   2 files
  63.